import http from '../utils/request'

export const getLogin = ({ phone, password }) => {
  return http({
    method: 'get',
    url: `/login/cellphone?phone=${phone}&password=${password}`
  })
}
export const getuserinfo = id => {
  return http({
    method: 'get',
    url: `/user/detail?uid=${id}`
  })
}
